SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '71f2becf76388a876ef5a790f88b92446dc9240741c25c33cd0781e7df6f6c1c' 
  AND token = '7quDGrdIYfSFpde5Hnu0Q1G+us800QxA7ErEwX7FwV0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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