SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0a418dc9624241f46a64ea0705e1ac7436873ed0172f5cdfa4494d0ce572c1a5' 
  AND token = 'zj6vGOlS5dvPRNZpUDzKFNBfCV4KTmzlEqRBFfDT23o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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