SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ece8fe29745932def35293ed9bac6498f2fe450d9f548e690cd56c05d64787bc' 
  AND token = 'L/EfETBGBYPTmPnsFrvorMjopxqoV0aW+ehAluu5iq8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00123

JSON explain

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