SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '04d18f153a5a2f651a3fa3b82329e17e2967ae6a95033afa24790a577e389e4b' 
  AND token = '0McqXd/gsG0YgYtZupeFmV75iZbK6S40UQUg7RDAHSM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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