SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a5722b1cba9f7270e20b2f31a759dbc21fb1ff0ebb1d2dfc90bcc883f4310077' 
  AND token = 'Q06NtGpnfFi3BBojHtpMwt2wJ6HNSwks7v0kQ5ZFFns=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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