SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cf1c1d7514880589b58afac5f9b0439e691530d5900194f0048f04d8e138e8b9' 
  AND token = 'akngHmgWvzL3jFLx9buatMcNMs88M07iK+AEA4QIqcE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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