SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f7ad79a6ada8e2cc55c15b51cfc4c97bb74667afe6923ebff524b86d80b5fdf2' 
  AND token = 'gicZCyzo4uEOumVKVmgjpIGuM59YzhbIVX5QNyTMlQo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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