SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '521eedbe6e284d885fc6c16415f66f282d8665257d655d7d8af717f8a259bbec' 
  AND token = '9dWJ1LCQnptvZLnY0cKqPnGqKKb+tcnRJN/9Z0L0xHk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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