SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bd87ffe20b74f32801b7b943b70b85646a868b0159d341028e4a3840f511cffd' 
  AND token = 'EJmPJNmd6inELUJEglYXQcOScfQq8J4bSTN6TQRcQgc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00058

JSON explain

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