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

Query time 0.00043

JSON explain

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