SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7881d1515b611889c1fbc1fa3dc629596d18e1a82994a85d0e7ce3426be07821' 
  AND token = 'Z8CwThj/WE914eLZFEoD4bgz4fjsBq2q6unluneej2Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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