SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1c31f5d77f539fc716fd4fbef5158ca15b161c41a42bdb19f99d68c7c4b4f1c8' 
  AND token = 'tBDvVW7CgUb2RUZuYr9hChB+dSnxTE1lMwN0psfPTrk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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