SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5d873cc06042f793e3d7fd3cbf6986bfbe8fa2678e491aaea691f58510d7bd4e' 
  AND token = '7nUqOZ6PuzGZwhiRykeMgrgotr76ZYAXf6bN9MFX4XY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}