SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4e5957b4952639658ea055588f03019383365cf72d4fb114c25a74f5623c8f31' 
  AND token = 'bbh75RSSrGAOjwaJp0K2Oly8DKTXPhK/JtsTWKUpKI4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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