SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f6ec550cb1f1c6dd3c0ee45649c4f95b9c9086423de5224cd18972d953cecee8' 
  AND token = 'OxpuS+rURXyYbw0ElrEGAS9m6aQ9ncdixmruOcAN6w8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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