SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8efcc765553acaca79820ca9a83bf335090f66a9831ee1103d33fc7301e0fd99' 
  AND token = 'q42SdH0i8KoMjCn38AJhsHohO6FThAJEnvoRQrnx5f8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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