SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '009cee17004c503f4d6b8483f331e9c607c588c2558c0f846de0e4c4a39bd688' 
  AND token = 'w1kiOqrV6uPjN0taMv/0yG76Tc8kX2FQJXUR+bz6i8w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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