SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2eb072a7a6f9456eca5cba813b9e1505476e1b5b340ea8c6dafa31a69d056f87' 
  AND token = 'kGPxcVJ0mZCDIkgvmdQgUb4xpn7Og4aW20HKyJJ4rS4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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