SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7f6b5bc32ab1f61d3f1fa72559b8f8bb2d45b30ee75374159d3ee88e4697e1ab' 
  AND token = 'MoCt8aOTSIUhSbmgD7CYctV2k8PM4vTObHBVrcqPc5Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00063

JSON explain

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