SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ba1e6ae543a22014929724afd3ef116db05eea7488129b6d69bf40fb5b670078' 
  AND token = '5Hp5lPMlYJLlx4pWKIAfJ5CPg7YD9VTheZ5BYKwDzAI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00052

JSON explain

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