SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '23954b4ee5ef9dfbf298b00e484f7f1cb6e5f715b81b57fce25d9e4f9820595c' 
  AND token = 'NEqkfFsA+zFgoq7RJQW3Uk5SozIsJcguXGlHZhldhK0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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