SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c2c4c05664cc30c80063f00af1ad05a43a6735ccf34c0b2d800ed307bd4ab30c' 
  AND token = 'YcFcIOmYQsHLTWpIl7u9Ru0p4XGUVGM5tk4Y76i9TWA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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