SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '570f5e155c797878df00d9a8a419c33042a9796704af5b8492399e4d3640f9c2' 
  AND token = 'ZOpiCJ2ySjY7ICoUh8A8/nNiKbNaxEllF0tz2ee8f3g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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