SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '74eaa1a600f736a80ba2ca1b63687fa657e640a166793b193dc1811eba39f5fb' 
  AND token = 'ikQU+NQBxIIihy8yw7bliRqLgEMmCjbiS2Raif2RYtI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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