SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1d51e4110724a7b87a2af8119ce30ddfa79395ca4c8202eb54e5d061fb267907' 
  AND token = 'gqUDr+0aIPt+WS2tWgwsO8U4ex7bO6iK/KhAQB8DF2s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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