SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e317418d07d4a4bb1d3a6cb1ebfcc5bd73e8771a032924cb124e2e7d9e4f9ec2' 
  AND token = 'fBB82hvQLyeRjVblelsbOO1IXo2Bz3PyCpGi/R3S9mM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00066

JSON explain

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