SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1bd630e726109d08daead4766ba59bd6fe766947cb5d25c2681ba07a9291132c' 
  AND token = 'gjkT3yEYmPJYfkh2MQWm+2gIJYguZts46NvfjAIIEBg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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