SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6ff154fff737a11cf6503c4ce2907dde934993d23b7b16da5663255737a1dd4d' 
  AND token = 'zUmPtTWm/tY7Pl1wPToCtZ7Tx9hU027bvaVfH4WNM5E=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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