SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5b724aa92078a5f1503addbb50f9ba9f30eba9efe924438a0fae22de5cb7868f' 
  AND token = 'oCtAcQkci7yP5J7Riu1sT2eoh/sfwlxC4QBJgnYZ2kQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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