SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '951145b655e793fee6838d3cf132b05242b217ea5dc048025a0c5cba08659562' 
  AND token = 'G6C9mDTj65KFtC67IVCi11rXio4Aai/KFsxC0MlQbEU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00076

JSON explain

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