SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7acb9cfb7d2f1512a58b94640370994f9ba1be98770d92c2802bcb47e07539be' 
  AND token = 'spDOd99pJ+0jL6/cauKo6cPENt5ALklFg6mF9QDMr9c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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